home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 1.8 KB | 48 lines | [TEXT/GEOL] |
- Item forwarded by SCHMUCKER1 to NASSI
-
- Item 6882739 8-Aug-89 10:57
-
- From: MOOF Rollin, Keith A, APL
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: 32K identifier overflow…
-
- Chris,
-
- I remember seeing this once before on another developer's project. In each of
- his units, he was USEing a fair number of all of his other units. Additionally,
- because he was planning for a large number of programmers over an extended
- period of time, he was telling his programmers to use long descriptive names.
- Personally, I've always been in favor of the variables Z0-Z9, but I guess some
- people are more picky.
-
- After talking it over with the Pascal programmer for MPW, we came up with
- several workarounds and one solution:
-
- 1) The only real solution is to wait for the next release of MPW. We found that
- there was a commonly occuring case where the Pascal compiler wasn't too
- intelligent about discarding old labels from its lists in order to make room
- for new ones. That part of the compiler has been reworked, and has given
- considerable relief to the problem.
- As for your next logical question, no, I don't know when the next release
- of MPW is...sorry.
-
- 2) Try using names that have more of the common characters in them, like e's.
- Identifiers are refenced through a hash table that optimizes on such
- characters.
-
- 3) I don't know if this applies to you, but in the former developer's case, I
- suggested that he use less USES (remember that in his case, almost every unit
- USED every other unit). As it turned out, he didn't like this one as being too
- unfeasible, but it may be possible in your case.
-
- 4) Combine some of your UNITs into a library. This should cause some of the
- entries in the indentifier table to go away.
-
- Hope this helps,
-
- - Keith Rollin
- - Developer Technical Support
-
-